package com.auto.learning.activity;

import android.os.Bundle;
import android.os.Message;
import android.widget.TextView;

import com.auto.learning.R;
import com.auto.learning.tools.CommonMethod;
import com.auto.learning.tools.TemporaryVariable;
import com.auto.learning.base.BaseActivity;

/**
 * 关于我们
 */
public class AboutusActivity extends BaseActivity {
	private TextView versionName;

	/**
	 * 初始化UI
	 */
	private void initUI() {
		versionName = (TextView) findViewById(R.id.ac_us_version);
		versionName.setText(getString(R.string.aa_version)
				+ CommonMethod.getVersionName(this));
	}

	@Override
	protected void onDestroy() {
		// TODO Auto-generated method stub
		TemporaryVariable.activities.removeElement(this);
		super.onDestroy();
	}

	@Override
	protected void initContentView(Bundle savedInstanceState) {
		setContentView(R.layout.activity_aboutus);
		setTitle(getString(R.string.aa_title));
		initUI();
		TemporaryVariable.activities.push(this);
	}

	@Override
	protected void handleMessage(Message msg) {
		
	}
}
